{"version":3,"sources":["resize.js"],"names":["BX","namespace","Grid","Resize","parent","this","lastRegisterButtons","init","prototype","addCustomEvent","window","proxy","registerTableButtons","registerPinnedTableButtons","destroy","removeCustomEvent","type","isArray","forEach","jsDD","unregisterObject","getButtons","register","item","isDomNode","onbxdragstart","delegate","_onDragStart","onbxdragstop","_onDragEnd","onbxdrag","_onDrag","registerObject","getParam","pinnedTableButtons","getPinnedTableButtons","length","Utils","getByClass","getRows","getHeadFirstChild","getNode","settings","get","getPinHeader","getFixedTable","cell","findParent","current_node","className","cells","getCells","cellsKeys","Object","keys","cellContainer","__overlay","create","props","append","__resizeCell","cellIndex","key","hasClass","width","parseInt","style","firstChild","x","table","getTable","fixedTable","rows","fixedCell","fixedCellContainer","cpos","pos","cellAttrWidth","parseFloat","sX","left","Math","max","fixedCells","getAllRows","querySelectorAll","column","getColumnByIndex","minWidth","maxWidth","classList","contains","adjustFixedColumnsPosition","adjustFadePosition","getFadeOffset","onCustomEvent","saveSizes","getColumnSizes","columns","name","call","current","data","isNotEmptyString","getUserOptions","setColumnSizes"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,WAEbD,GAAGE,KAAKC,OAAS,SAASC,GAEzBC,KAAKD,OAAS,KACdC,KAAKC,oBAAsB,KAC3BD,KAAKE,KAAKH,IAGXJ,GAAGE,KAAKC,OAAOK,WACdD,KAAM,SAASH,GAEdC,KAAKD,OAASA,EAEdJ,GAAGS,eAAeC,OAAQ,gBAAiBV,GAAGW,MAAMN,KAAKO,qBAAsBP,OAC/EL,GAAGS,eAAeC,OAAQ,sBAAuBV,GAAGW,MAAMN,KAAKQ,2BAA4BR,OAE3FA,KAAKO,uBACLP,KAAKQ,8BAGNC,QAAS,WAERd,GAAGe,kBAAkBL,OAAQ,gBAAiBV,GAAGW,MAAMN,KAAKO,qBAAsBP,OAClFL,GAAGe,kBAAkBL,OAAQ,sBAAuBV,GAAGW,MAAMN,KAAKQ,2BAA4BR,OAC9FL,GAAGgB,KAAKC,QAA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